YAYDP\Helper\YAYDP_Condition_Helper D

Total Complexity 219
Dependencies 4
Dependents 3
Total lines 1,153
Lines of code 737
Logical lines of code 515
Comment lines 298
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
check_list_conditions()
D
31 34 107
check_order_history_product()
A
44 12 45
check_shipping_region()
A
49 12 27
check_billing_region()
A
49 12 27
check_order_history_category()
A
46 10 39
check_combined_items()
A
49 10 31
check_product_attribute_taxonomies()
A
49 10 27
get_cart_items_match_product()
A
49 9 30
check_customer_order_count_from_last_discount()
A
49 8 31
check_bought_products()
A
52 8 24
check_previous_order_in()
A
47 7 35
check_orders_purchased_date()
S
51 7 27
get_cart_items_match_tag()
S
51 7 26
get_cart_items_match_category()
S
51 7 26
check_user_creation_date()
S
54 7 20
check_applied_coupons()
S
50 6 29
check_payment_method()
S
58 7 13
check_shipping_class()
S
53 6 23
check_shipping_method()
S
56 6 16
check_account_create_time()
S
56 4 18
check_cart_item_regular_price()
S
62 3 11
check_cart_item_category()
S
63 3 10
check_cart_item_tag()
S
63 3 10
get_order_history_available_statuses()
S
64 2 11
check_customer_role()
S
62 2 11
check_cart_item()
S
68 2 7
check_cart_subtotal_price()
S
63 2 10
check_cart_quantity()
S
66 2 8
check_specific_customer()
S
68 2 6
check_logged_customer()
S
77 2 3
check_customer_order_count()
S
66 2 8
check_product_variation()
S
68 2 7
check_shipping_total()
S
74 1 4
check_cart_total_weight()
S
74 1 4
check_conditions()
S
70 1 6